<?php
/**
 * MySqlResultSet
 * Mysql query results abstraction class.
 *
 * @author Lim Afriyadi
 * @version pre-alpha
 * @package Samble
 * @subpackage db
 * @license GNU/GPL
 */
abstract class MySqlResultSet extends MySqlConnection
{
    /**
     * Array of mysql query results
     * @var array
     */
    var $a_Result_Set = null;
    /**
     * Handle the mysql query object
     * @var object
     */
    var $o_Query = null;

    /**
     * Abstract function of collecting mysql query results
     * @param object $Query
     * @return array
     */
    abstract function getResultSet();
    /**
     * Abstract function to clear the array of mysql results
     */
    abstract function clearResultSet();
}
?>
